package com.xunfang.service;

import com.xunfang.bean.Building;
import com.xunfang.bean.dto.BuildQueryDTO;
import com.xunfang.bean.vo.PageVo;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author yellow Docter
 * @date 2023 -11-02
 * @desc
 */
public interface IBuildingService {

    PageVo findBuilds(Integer currentPage, Integer pageSize,BuildQueryDTO buildQueryDTO);

    boolean removeBuildById(Integer id);

    //修改操作 
    boolean updateBuildById(Building building);

    //添加操作
    boolean addBuildById(Building building);

    //批量删除
    boolean batchBuild(List<Integer> ids);

    //查询所有
    List<Building> findBuildsAll();
}
